<script type="text/javascript">
$(document).ready(function(){
	
			// Validate form
			$("#thontin").validate({
				errorElement: "span", // Định dạng cho thẻ HTML hiện thông báo lỗi
				rules: {
					
					
				}
					 
				 
			});
	
});
</script>
<?php
$title = 'Thông tin';
$this->headTitle($title);
?>


<?php


$form = $this->form;
$form->setAttribute('action', $this->url('thongtin', array('action' => 'index')));
$form->prepare();

echo $this->form()->openTag($form) . PHP_EOL;
echo $this->formHidden($form->get('id')) . PHP_EOL;

echo $this->formRow($form->get('banner')) . PHP_EOL;

echo $this->formRow($form->get('footer')) . PHP_EOL;
echo $this->formRow($form->get('email')) . PHP_EOL;
echo $this->formRow($form->get('yahoo')) . PHP_EOL;
echo $this->formRow($form->get('skype')) . PHP_EOL;
echo "<br>".$this->formInput($form->get('submit')) . PHP_EOL;
echo $this->form()->closeTag($form) . PHP_EOL;


?>
<script type="text/javascript">
	CKEDITOR.replace('banner');
	CKEDITOR.replace('footer');
</script>
<div id="error" class="error"><?php echo $this->error; ?></div>